package tech.aistar.service;

import tech.aistar.dto.MyWrongfirst;
import tech.aistar.entity.Collect;
import tech.aistar.entity.User;

import java.util.List;

public interface IUserService {
    User findUserBynickname(String username);

    int register(User user);

    int updateUser(User user);

    User findUserById(Long uid);


    List<MyWrongfirst> fingByUid(Long uid);

    List<Collect> fingByColId(Long uid);


    int uploadimg(String path , String nickname);

    String findusername(Long uid);
}
